public with sharing class InactiveOpp {

   //    Public List<Opportunity> o { get; set; }
   
    Public Boolean oppRendered {get;set;}
    Public Boolean s {get;set;}
    public Opportunity oppn;

    public InactiveOpp(ApexPages.StandardController controller) {
      List<Opportunity> opp = null;
      
     oppn = (Opportunity)controller.getRecord();
     opp=[select IsActive__c from Opportunity where id=:oppn.id];

       for(Opportunity o:opp)
       {
             s=o.IsActive__c;
        }
        if(s == true)
        {
            oppRendered = true;
        }
        else
        {
            oppRendered = false;
        }
}


}